/**
 * @Author lzc
 * @Date 2022/3/18 15:30
 */
public class Demo1 {
    public static void main(String[] args) {
        String s = "a,bb,cc,dd";
    
        System.out.println(s.replaceAll("([^,]+)", "$1 varchar"));
        System.out.println(s.replaceAll(",", " varchar,").concat(" varchar"));
    }
}
